//
//  BaseViewController.h
//
//  Created by weiwang on 15-11-18.
//  Copyright 2015年 weiwang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "OPHomeNavgationBar.h"

@interface OPBaseViewController : UIViewController

@property (nonatomic,strong) OPHomeNavgationBar *navgationBar;


//- (void)setDefaultBackItemWithBackArrow;
//- (void)setDefaultBackItemWithDimissArrow;
//- (void)setDefaultBackItemWithHide;
////设置navbar左边按钮（图片）
//- (void)setLeftItemImage:(UIImage *)image selectedImage:(UIImage *)selectedImage target:(id)target action:(SEL)action;
////设置navbar右边按钮（图片）
//- (void)setRightItemImage:(UIImage *)image selectedImage:(UIImage *)selectedImage target:(id)target action:(SEL)action;
//
//- (void)setLeftItemText:(NSString *)text target:(id)target action:(SEL)action;
//
//- (void)setRightItemText:(NSString *)text target:(id)target action:(SEL)action;
//
//- (void)setDefaultBackItemWithImage:(UIImage *)image selectedImage:(UIImage *)selectedImage;
//
//- (UIBarButtonItem *)barWithText:(NSString *)text
//                          target:(id)target
//                          action:(SEL)action;
//- (UIBarButtonItem *)barWithImage:(UIImage *)image
//                    selectedImage:(UIImage *)selectedImage
//                  backgroundImage:(UIImage *)backgroundImage
//          selectedBackgroundImage:(UIImage *)selectedBackgroundImage
//                           target:(id)target
//                           action:(SEL)action ;
//
//- (void)setNavgationBarImage:(UIImage *)image;
//
//- (void)setTabBarHidden:(BOOL)hidden;
//- (void)setNavgationBarHidden:(BOOL)hidden;
//- (void)setNavgationBarHidden:(BOOL)hidden animated:(BOOL)animated;
//
//- (void)startAnimating;
//- (void)startAnimatingWithText:(NSString *)text;
//- (void)stopAnimating;
//
//- (void)showErrorMessageOnlyTip:(NSError *)error;
//- (void)showErrorWithError:(NSError *)error;
//
//- (void)showWebviewLoading:(UIView *)webview;
//- (void)dismissWebviewLoading:(UIView *)webview;
//
//- (void)showAlertWithMessage:(NSString *)msg completion:(dispatch_block_t)completion;
//- (void)showAlertWithMessage:(NSString *)msg
//                 OtherChoice:(NSString *)otherChoice
//                  completion:(dispatch_block_t)completion;
//
//- (void)setCanSwipeBack:(BOOL)canSwipe;
//- (void)disableScrollViewScrollWhileEdgePag:(UIScrollView *)scrollView;

@end
